-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #633: prevent use of "$similarity" in projection #635
Conversation
Could you please also delete two corresponding NB tests Perhaps just delete the ops. LGTM. |
I changed to use |
Perfect! Thanks! |
For some reason, CI again stuck -- perhaps since merge from main pulled doc-only commits? |
FYI It seems that this change broke the LangChain integration, see this patch Currently with LangChain you cannot use the JSON API |
@eolivelli Thank you for reporting this. It is unfortunate, I'll let others know so they are aware of temporary breakage of Langchain (thank you for the link to PR). At this point we hope to solidify API but there may be some last breaking changes (in some cases we can keep backwards compatibility; here unfortunately not). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
The problem affected LlamaIndex as well |
What this PR does:
Prevents use of
$similarity
in Projection clause, since it is not a real field and there is different mechanism for inclusion viaoptions
.Which issue(s) this PR fixes:
Fixes #633
Checklist